package com.ursu.shared.actions;

import com.gwtplatform.dispatch.shared.ActionImpl;
import com.ursu.shared.actions.CreateUserResult;
import com.ursu.shared.User;

public class CreateUser extends ActionImpl<CreateUserResult> {

	private User userToCreate;

	@SuppressWarnings("unused")
	private CreateUser() {
		// For serialization only
	}

	public CreateUser(User userToCreate) {
		this.userToCreate = userToCreate;
	}

	public User getUserToCreate() {
		return userToCreate;
	}
	@Override
	public boolean isSecured() {
		// TODO Auto-generated method stub
		return false;
	}
}
